#!/bin/bash
echo "pre inst"

DATAPATH=/var/lib/opengauss
## check datanode path if exits
if [ -d ${DATAPATH}/data ]; then
    echo "datapath [${DATAPATH}/data] is not empty"
    exit 1
fi